package top

import (
	"github.com/gin-gonic/gin"
	"go-interview-forum/api/top"
)

func Router(g *gin.Engine) {
	user := g.Group("/top")
	user.POST("overall", top.OverallRanking)               //总榜
	user.POST("grasp", top.GraspRanking)                   //掌握榜
	user.POST("length", top.LengthTimeRanking)             //时长榜
	user.POST("categorization", top.CategorizationRanking) //分类榜
}
